Skip to content

Conversation

@younsl
Copy link
Contributor

@younsl younsl commented Feb 4, 2026

Allow configuring container restart policy for in-place resource resize on deployment and daemonset pods.

Issue #, if available:
N/A

Description of changes:
Add resizePolicy option to the Helm chart to support Kubernetes In-Place Pod Vertical Scaling feature.

Changes:

  • Add resizePolicy field to values.yaml (default: [])
  • Add resizePolicy template block to deployment.yaml, daemonset.linux.yaml, and daemonset.windows.yaml
  • Update README.md with resizePolicy parameter documentation

Example usage:

resizePolicy:
  - resourceName: cpu
    restartPolicy: NotRequired
  - resourceName: memory
    restartPolicy: RestartContainer

How you tested your changes:
Environment (Linux / Windows): Linux (Amazon Linux 2023)
Kubernetes Version: 1.34

Tested with helm template to verify the resizePolicy is correctly rendered:

helm template aws-node-termination-handler
./config/helm/aws-node-termination-handler \
  --set resizePolicy[0].resourceName=cpu \
  --set resizePolicy[0].restartPolicy=NotRequired

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Allow configuring container restart policy for in-place resource resize
on deployment and daemonset pods.

Signed-off-by: younsl <cysl@kakao.com>
@younsl younsl requested a review from a team as a code owner February 4, 2026 02:33
@younsl
Copy link
Contributor Author

younsl commented Feb 4, 2026

PTAL @tiationg-kho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant